package com.jzt.qf.beans;

import com.jzt.qf.https.Jzt_api_parameter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class GetBase<T> implements Serializable {
    private String callCategory;//操作类别 dw
    private String funcType;//方法类别(方法类别)
    private String id;//用户名
    private String pwd;//密码
    private T jsondata;//上传数据
    public GetBase(String callCategory, String funcType, String id, String pwd){
        this(callCategory,funcType,id,pwd,null);
    }
    public GetBase(String callCategory, String funcType, T t){
        this.callCategory = callCategory;
        this.funcType = funcType;
        this.jsondata = t;
        this.id = Jzt_api_parameter.ID;
        this.pwd = Jzt_api_parameter.PSW;
    }

}
